package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesSaleExpressDetailDTO;
import com.hunttown.mes.rpc.domain.query.MesSaleExpressDetailDTOQuery;

/**
 * created by wangjunfu on 2022-07-25 14:54:21
 */
public interface MesSaleExpressDetailRpcService {

    MesSaleExpressDetailDTO insert(MesSaleExpressDetailDTO mesSaleExpressDetailDTO);

    Boolean updateInfoById(MesSaleExpressDetailDTO mesSaleExpressDetailDTO);

    Boolean updateInfoByQuery(MesSaleExpressDetailDTOQuery mesSaleExpressDetailDTOQuery);

    MesSaleExpressDetailDTO selectById(Integer id);

    MesSaleExpressDetailDTO selectObjByQuery(MesSaleExpressDetailDTOQuery mesSaleExpressDetailDTOQuery);

    Page<MesSaleExpressDetailDTO> getListForPage(MesSaleExpressDetailDTOQuery mesSaleExpressDetailDTOQuery);

    Boolean deleteById(Integer id);

    Long getProductSendCount(Integer productId);
}